package com.avamanager.app.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.avamanager.common.annotation.Excel;
import com.avamanager.common.core.domain.BaseEntity;

/**
 * 课程信息对象 app_course
 * 
 * @author FenvyYe
 * @date 2022-08-15
 */
public class AppCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程ID */
    private Long courseId;

    /** 课程名 */
    @Excel(name = "课程名")
    private String courseName;

    /** 开设班级id */
    @Excel(name = "开设班级id")
    private Long deptId;

    /** 学年 */
    @Excel(name = "学年")
    private String year;

    /** 学期 */
    @Excel(name = "学期")
    private String semester;

    /** 学时 */
    @Excel(name = "学时")
    private Long classHour;

    /** 学分 */
    @Excel(name = "学分")
    private BigDecimal credit;

    /** 课程性质 */
    @Excel(name = "课程性质")
    private String courseProperty;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private String courseCategory;

    /** 通选课课程归属 */
    @Excel(name = "通选课课程归属")
    private String courseAscription;

    /** 任课老师 */
    @Excel(name = "任课老师")
    private String teacherId;

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }
    public void setSemester(String semester) 
    {
        this.semester = semester;
    }

    public String getSemester() 
    {
        return semester;
    }
    public void setClassHour(Long classHour) 
    {
        this.classHour = classHour;
    }

    public Long getClassHour() 
    {
        return classHour;
    }
    public void setCredit(BigDecimal credit) 
    {
        this.credit = credit;
    }

    public BigDecimal getCredit() 
    {
        return credit;
    }
    public void setCourseProperty(String courseProperty) 
    {
        this.courseProperty = courseProperty;
    }

    public String getCourseProperty() 
    {
        return courseProperty;
    }
    public void setCourseCategory(String courseCategory) 
    {
        this.courseCategory = courseCategory;
    }

    public String getCourseCategory() 
    {
        return courseCategory;
    }
    public void setCourseAscription(String courseAscription) 
    {
        this.courseAscription = courseAscription;
    }

    public String getCourseAscription() 
    {
        return courseAscription;
    }
    public void setTeacherId(String teacherId) 
    {
        this.teacherId = teacherId;
    }

    public String getTeacherId() 
    {
        return teacherId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("deptId", getDeptId())
            .append("year", getYear())
            .append("semester", getSemester())
            .append("classHour", getClassHour())
            .append("credit", getCredit())
            .append("courseProperty", getCourseProperty())
            .append("courseCategory", getCourseCategory())
            .append("courseAscription", getCourseAscription())
            .append("teacherId", getTeacherId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
